home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
130 MIDI Tool Box
/
130 MIDI Tool Box.iso
/
mpu401c
/
dxpachng.c
< prev
next >
Wrap
C/C++ Source or Header
|
1986-11-02
|
643b
|
29 lines
/* Copyright (C) 1986 by M. J. Shannon, Jr.
** Permission to distribute for non-commercial uses granted as long as this
** notice is retained. Violators will be prosecuted.
*/
#include "mpu.h"
static unsigned char change1parameter[] =
{
0xFF, /* MPU system exclusive */
0xF0, /* MIDI system exclusive */
0x43, /* ID: Yamaha */
0x10, /* Substatus/channel */
0x12, /* parameter group */
0x00, /* switch number */
0x00, /* switch value */
0xF7 /* EOX */
};
void
dxpachng(sw, val)
unsigned char sw;
unsigned char val;
{
change1parameter[5] = sw;
change1parameter[6] = val;
mpu_sexcl(change1parameter);
}